﻿using System.Collections.Generic;
using System.Xml;

namespace TFSAdministrationTool.Common
{
  public interface ISharePointProxy
  {
    void AddUserToRole(string userName, string role, string displayName, string email, string description);
    void RemoveUserFromRole(string userName, string role);
    void RemoveUser(string userName);

    List<string> GetRoleCollectionFromUser(string userName);
    XmlNode GetRoleCollectionFromWeb();
    SecurityInfo GetSecuritySettings();

    string Url { get; }
    SiteStatus SiteStatus { get; }
    string WssVersion { get; }
  } //End Interface
} //End Namespace